home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NOVA - For the NeXT Workstation
/
NOVA - For the NeXT Workstation.iso
/
SourceCode
/
AdobeExamples
/
NX_Clock
/
Animator.h
< prev
next >
Wrap
Text File
|
1992-09-22
|
959b
|
53 lines
/*
* Taken from the stop watch application in NextDeveloper .
*/
#import <objc/Object.h>
#import <sys/time.h>
#import <dpsclient/dpsclient.h>
@interface Animator : Object
{
int mask;
DPSTimedEntry teNum;
int ticking;
double interval;
struct timeval entrytime;
double synctime;
double adapteddt;
double desireddt;
double t0;
double howOften;
id target;
SEL action;
int passcounter;
}
+ newChronon:(double)dt
adaptation:(double)howoft
target:(id)targ
action:(SEL)act
autoStart:(int)start
eventMask:(int)eMask;
- resetRealTime;
-(double) getSyncTime;
-(double) getDoubleEntryTime;
-(double) getDoubleRealTime;
-(double) getDouble;
- adapt;
- setBreakMask:(int)eventMask;
-(int) getBreakMask;
-(int) isTicking;
-(int) shouldBreak;
- setIncrement:(double)dt;
-(double) getIncrement;
- setAdaptation:(double)oft;
- setTarget:(id)targ;
- setAction:(SEL)aSelector;
- startEntry;
- stopEntry;
- free;
@end